.body {
    background-color: #f5f5f5;
}

.clear {
    clear: both;
    padding: 0;
    margin: 0;
}

.bg-white {
    background-color: #fff;
}

.width-auto-11 {
    width: 1200px;
    margin: 0 auto;
}

.top {
    height: 80px;
    line-height: 80px;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 999;
}

.main-container {
    margin-top: 80px
}

.layui-nav .layui-nav-item a {
    color: #000000;
}

.layui-nav .layui-nav-item a:hover,a:hover {
    color: #1e80ff;
}

.logo {
    -webkit-background-clip: text;
    color: #000000;
    letter-spacing: .5px;
    font-weight: 700;
    font-size: 2rem;
}

.article-left, .article-right {
    padding-left: 0;
}

.article-right {
    padding-right: 0;
}

.article {
    padding: 20px;
}
.index-article {
    padding-top: 5px;
}
.article-left .bg-white, .article-right .right-item, .friend-link {
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    box-shadow: 0px 4px 24px 0px rgba(209, 204, 255, 0.12);
}

.article-item {
    word-break: break-all;
    display: flex
}

.article-item .article-content {
    padding: 15px 0;
    flex: 1;
    display: flex;
    width: 100%
}

.article-item .article-content .article-img {
    width: 200px;
    height: 115px;
    border-radius: 4px;
    margin-top: 3px
}

.article-item .article-content .article-img img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    border: 1px solid #e2e2e2;
}

.article-item .article-content {
    border-bottom: 1px solid #f4f4f4
}

.article-item .article-text {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    color: #999;
    line-height: 24px;
    position: relative;
    margin-left: 25px;
}

.article-item .article-title {
    height: 22px;
    overflow: hidden;
}

.article-item .article-bottom {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 5px;
}

.article-item .article-time {
    font-size: 14px;
    line-height: 24px;
}

.article-item .article-time a {
    color: #999;
    margin-left: 30px;
}

.article-item .article-tag, .right-item .article-tag {
    display: flex;
}
.article-item .article-tag a:hover {
    background-color: #eaf2ff;
}
.right-item .article-tag {
    flex-flow:row wrap;
}

.article-item .article-tag a, .right-item .article-tag a {
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    padding: 4px 8px;
    box-sizing: border-box;
    line-height: 23px;
    margin-left: 8px;
}

.right-item .article-tag a{
    margin-top: 10px;
}

.right-item .article-tag a:hover {
    background-color: #eaf2ff;
}

.article-item .article-description {
    margin-top: 5px;
    font-size: 14px;
    height: 45px;
    overflow: hidden;
}

.article-right .right-item {
    background: #fff;
    margin-top: 20px;
    padding: 15px 20px;
}

.article-right .right-item:first-child {
    margin-top: 0;
}

.article-right .item-title, .friend-link .item-title {
    color: #333;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    border-bottom: 1px solid #ebedf0;
    padding-bottom: 5px;
}

.article-right .item-title .more {
    color: #b1b1b1;
    float: right;
    font-size: 14px;
    font-weight: 400;
}

.article-right .item-title .more:hover {
    color: #1e80ff;
}

.article-right .item-title .more i {
    font-style: normal;
}

.article-right .article-title {
    display: block;
    flex: 1;
    font-size: 14px;
    line-height: 19px;
    min-width: 0;
    word-break: break-all;
}

.article-right .margin-top {
    margin-top: 20px;
}
.right-article-a {
    height:31px;
    text-overflow:ellipsis;
    white-space:nowrap;
    overflow:hidden;
}
.right-item .article-tag a {
    margin-left: 0;
    margin-right: 8px;
}

.right-item > .layui-tab-title .layui-this {
    padding: 0;
    font-size: 16px;
}

.article-detail {
    padding: 20px;
}

.article-detail .title {
    font-size: 30px;
    font-weight: 600;
    color: #333;
    line-height: 40px;
    margin: 20px 0;
}

.article-info {
    display: flex;
    margin-bottom: 30px;
    justify-content: space-between;
}

.article-info .author,
.article-info .time {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    line-height: 25px
}

.article-info .author-hover {
    margin-right: 50px;
}

.article-detail .article-info .article-type{
    width: 48px;
    height: 26px;
    border-radius: 6px 2px 6px 2px;
    border: 1px solid #fe3b2d;
    display: inline-flex;
    flex-shrink: 1;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 400;
    color: #e90505;
    box-sizing: border-box;
    margin-left: 5px;
}

.article-detail .article-content {
    margin: 20px 0;
}

.article-detail  h1, h2, h3, h4, h5, p {
    margin: 20px 0;
}

blockquote p {
    margin: 0;
}

.article-detail code {
    font-family: monospace;
    background-color: #eee;
    padding: 3px;
    border-radius: 3px;
}

.article-detail li {
    list-style: disc;
    line-height: 1.6;
}


.article-content-view p,
.article-content-view li {
    white-space: pre-wrap; /* 保留空格 */
}

.article-content-view blockquote {
    border-left: 8px solid #d0e5f2;
    padding: 10px 10px;
    margin: 10px 0;
    background-color: #f1f1f1;
}

.article-content-view pre {
    font-family: monospace;
    background-color: #eee;
    border-radius: 3px;
    display: block;
    padding: 10px;
}

.article-content-view table {
    border-collapse: collapse;
}
.article-content-view td,
.article-content-view th {
    border: 1px solid #ccc;
    min-width: 50px;
    height: 20px;
}
.article-content-view th {
    background-color: #f1f1f1;
}

.article-content-view ul,
.article-content-view ol {
    padding-left: 20px;
}

.article-content-view input[type="checkbox"] {
    margin-right: 5px;
}

.friend-link .link-list {
    margin-top: 10px;
}

.friend-link .link-content {
    padding: 15px;
}

.friend-link .link-list a {
    display: inline-block;
    margin: 10px auto;
    padding: 0 10px;
    font-size: 14px;
    border-right: 1px solid #ddd;
}

.footer {
    position: relative;
    margin-top: 16px;
    padding: 40px 0;
    text-align: center;
    box-sizing: border-box;
}

.footer .link {
    display: block;
    width: 927px;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
}

.footer .link a {
    display: inline-block;
    margin-bottom: 20px;
    padding: 0 40px;
    font-size: 14px;
    vertical-align: middle;
    border-right: 1px solid #dcdee0;
}

.footer p {
    width: 1060px;
    margin: 0 auto;
    text-align: center;
}

.footer p span,
.footer p a {
    margin-left: 10px;
    font-size: 14px;
    line-height: 24px;
    color: #969799;
}
.friend-link a:last-child ,.footer .link a:last-child {
    border: none;
}

.bread-nav {
    border-bottom: 1px solid #ebedf0;
    padding-bottom: 10px;
}

.article-detail .article-content img {
    max-width: 845px;
}

.right-item a {
    display: flex;
    padding-top: 12px;
}

ul.pagination {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.page {
    text-align: center;
    padding-bottom: 15px;
}
ul.pagination li {display: inline-block; margin-right: 10px;}

ul.pagination li a,ul.pagination li.active ,ul.pagination li.disabled{
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    background-color: #f5f5f5;
}

ul.pagination li.active {
    background-color: #1e80ff;
    color: white;
    border-radius: 5px;
}

ul.pagination li a:hover:not(.active) {background-color: #eaf2ff;}

.layui-elem-quote {
    border-left: 5px solid #1e80ff;
}

.article-item .article-time a:hover, .right-item a:hover, .bread-nav .layui-breadcrumb a:hover, .article-item .article-tag a:hover {
    color: #1e80ff!important;;
}

.layui-badge {
    height: 24px;
    line-height: 24px;
    font-size: 14px;
}
.right-item .layui-form-item {
    margin-bottom: 0;
}
.layui-form-item .search-input {
    width: 170px;
}
.layui-input:focus,.layui-textarea:focus {
    border-color: #1e80ff!important;
}